/**
 * Created by 小敏哥 on 2017/5/21.
 */
import apiHelper from './apiHelper';

class CouponService {

    //获取优惠券列表
    getCouponList(data) {
        let requestParam = {
            url: `${apiHelper.baseApiUrl}order/getUnusedCouponList`,
            data: {
                method: 'post',
                body: data
            }
        };
        return apiHelper.fetch(requestParam);
    }
}

export default new CouponService();